package com.model;


public class PacketHeader {
	public static final int HEADER_SIZE = 0x10;
	private int protocol;
	private int msgType;
	private int dataLength;
	private int reserved;

	public PacketHeader() {
		super();
	}

	public PacketHeader(int protocol, int msgType, int dataLength) {
		this.protocol = protocol;
		this.msgType = msgType;
		this.dataLength = dataLength;
	}

	public int getProtocol() {
		return protocol;
	}

	public void setProtocol(int protocol) {
		this.protocol = protocol;
	}

	public int getMsgType() {
		return msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public int getDataLength() {
		return dataLength;
	}

	public void setDataLength(int dataLength) {
		this.dataLength = dataLength;
	}

	public int getReserved() {
		return reserved;
	}

	public void setReserved(int reserved) {
		this.reserved = reserved;
	}

}
